package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zds
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StationGate对象", description="")
public class StationGate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "所属车站")
    @TableField("station_name")
    private String stationName;

    @ApiModelProperty(value = "设备ID")
    @TableField("device_id")
    private Long deviceId;

    @ApiModelProperty(value = "进站口编号")
    @TableField("entrance_num")
    private Long entranceNum;

    @ApiModelProperty(value = "候车区域")
    @TableField("region_name")
    private String regionName;

    @ApiModelProperty(value = "检票口")
    @TableField("ticket_gate_name")
    private String ticketGateName;

    @ApiModelProperty(value = "站务公司")
    @TableField("service_com")
    private String serviceCom;

    @ApiModelProperty(value = "候车室负责人")
    @TableField("region_person")
    private String regionPerson;

    @ApiModelProperty(value = "候车室负责人电话")
    @TableField("region_person_tel")
    private String regionPersonTel;

    @ApiModelProperty(value = "安全管理人")
    @TableField("security_person")
    private String securityPerson;

    @ApiModelProperty(value = "安全管理人电话")
    @TableField("security_person_tel")
    private String securityPersonTel;

    @ApiModelProperty(value = "预警人数")
    @TableField("warning_person")
    private Long warningPerson;

    @ApiModelProperty(value = "报警人数")
    @TableField("alams_person")
    private Long alamsPerson;


}
